<?php
	include __DIR__ ."../../PHP/db.php";
	$job_id = $_POST['job_id'];
	$applicant_id = $_POST['applicant_id'];
	$intervew_date = $_POST['interview_date'];
	$type = $_POST['type'];
	$from = $_POST['from'];
	$to = $_POST['to'];
	$nearest = $_POST['nearest'];
	$result = array();
	$result['status'] = setForInterview($applicant_id,$job_id,$intervew_date,$type,$from,$to,$nearest);
	echo json_encode($result);
	die();
?>